// router/technical_verification.go
package audit

import (
	"github.com/gin-gonic/gin"
)

type TechnicalVerificationRouter struct{}

func (r *TechnicalVerificationRouter) InitTechnicalVerificationRouter(Router *gin.RouterGroup) {
	techRouter := Router.Group("technical")
	{
		techRouter.POST("create", TechnicalApi.CreateOrUpdateTechnicalVerification)   // 创建技术审核
		techRouter.GET("get", TechnicalApi.GetTechnicalVerification)                  // 获取技术审核
		techRouter.PUT("approve", TechnicalApi.ApproveTechnicalVerification)          // 审核通过
		techRouter.PUT("reject", TechnicalApi.RejectTechnicalVerification)            // 审核不通过
		techRouter.GET("getPending", TechnicalApi.GetPendingTechnicalVerifications)   // 获取所有未审核技术审核记录
		techRouter.GET("getApproved", TechnicalApi.GetApprovedTechnicalVerifications) // 获取所有已审核技术审核记录
	}
}
